package com.zero.chain.handler.impl;

import com.zero.chain.handler.Saint;

public class SilverSaint extends Saint {
    @Override
    public void handleRequest(Integer level) {
        if (level<1000){
            System.out.println("白银圣斗士完成了任务");
        }else {
            System.out.println("白银圣斗士无法完成,交给下一责任人处理");
            this.successor.handleRequest(level);
        }
    }
}
